package com.liangzhong.facade.youngTrain
{
	import com.liangzhong.constants.ApplicationConstants;
	import com.liangzhong.facade.FacadeBase;
	import com.liangzhong.modules.youngTrain.command.YoungTrainCommand;

	/**
	 *青训营 
	 * @author lake
	 * 
	 */	
	public class YoungTrainFacade extends FacadeBase
	{
		public function YoungTrainFacade()
		{
			super();
		}
		override public function initializeController():void
		{
			//获取青训营信息
			facade.registerCommand(ApplicationConstants.YOUNGTRAIN_GET_INFO,YoungTrainCommand);
			//升级
			facade.registerCommand(ApplicationConstants.YOUNGTRAIN_GRADE_UP,YoungTrainCommand);
			//添加球童
			facade.registerCommand(ApplicationConstants.YOUNGTRAIN_ADD_PLAYER,YoungTrainCommand);
			//全部签约
			facade.registerCommand(ApplicationConstants.YOUNGTRAIN_GET_PLAYER_ALL,YoungTrainCommand);
			//签约
			facade.registerCommand(ApplicationConstants.YOUNGTRAIN_GET_PLAYER,YoungTrainCommand);
			//出售
			facade.registerCommand(ApplicationConstants.YOUNGTRAIN_SALE_PLAYER,YoungTrainCommand);
			//加速成长
			facade.registerCommand(ApplicationConstants.YOUNGTRAIN_GROW_ACC,YoungTrainCommand);
			//增加球童生产次数
			facade.registerCommand(ApplicationConstants.YOUNGTRAIN_ADD_GROW_NUM,YoungTrainCommand);
		}
	}
}